package com.jiepos.mpos.inter.fourelement.controller;

import java.util.HashMap;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.jiepos.mpos.inter.fourelement.FourElements;
import com.jiepos.mpos.inter.fourelement.service.yuqiang.YuQiangLogFourElementsService;

@Controller
@RequestMapping("logfourelements")
public class LogFourElementsController {

	@Autowired
	private YuQiangLogFourElementsService logFourElementsService;
	
	@RequestMapping("/aa.do")
	public String getget(String name, String phone, String certificate_no, String acct_no){
		Map map = logFourElementsService.queryFourElement(new FourElements(name, phone, certificate_no, acct_no), new HashMap());
		return map.toString();
		
	}

}
